/*
  定义类型流程：
    1. 测试接口得到响应返回值
    2. 复制响应返回值定义接口返回值类型
    3. 基本类型直接写，引用类型额外定义
    
  {
    "records": [
      {
        "id": 1,
        "tmName": "小米",
        "logoUrl": "http://39.98.123.211/group1/M00/03/D9/rBHu8mHmKC6AQ-j2AAAb72A3EO0942.jpg"
      }
    ],
    "total": 25,
    "size": 1,
    "current": 1,
    "searchCount": true,
    "pages": 25
  }
*/
export interface TrademarkItem {
  id: number;
  tmName: string;
  logoUrl: string;
}

export type TrademarkList = TrademarkItem[];

export interface GetTrademarkListApiResponse {
  records: TrademarkList;
  total: number;
  size: number;
  current: number;
  searchCount: boolean;
  pages: number;
}
